# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
pkgname=tmpmail
pkgver=1.2.3
pkgrel=2
pkgdesc="Temporary email right from your terminal written in POSIX sh"
url="https://github.com/sdushantha/tmpmail"
arch="noarch"
license="MIT"
options="!check" # no test suite
depends="
	w3m
	curl
	jq
	cmd:xclip
	cmd:column
	"
subpackages="$pkgname-doc"
source="https://github.com/sdushantha/tmpmail/archive/v$pkgver/tmpmail-$pkgver.tar.gz"

package() {
	install -Dm755 tmpmail -t "$pkgdir"/usr/bin/
	install -Dm644 tmpmail.1 -t "$pkgdir"/usr/share/man/man1/
	install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname"/
}

sha512sums="
50d9902957481cf9b8c71f1f2ef4e97b93ce9adb894965e074d5daa9ed013df27ba313d2c3288dbd2ae77fb89e05b3635512f9c06cc14ccf3f91db5870246389  tmpmail-1.2.3.tar.gz
"
